package top.zt9.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.zt9.pojo.StandardReport;

/**
 * @Author ztf
 * @Date 20:19 2021/11/25
 **/
@RestController
@RequestMapping("/receive")
public class ReceiveController {

    /**
     * 接收短信是否发送成功回调
     * @return
     */
    @RequestMapping("/status")
    public String receive(@RequestBody StandardReport report){
        System.out.println("===="+report.toString());
        return "success";
    }
}
